<html>
<head>

</head>
<body>
<form action="" method="post">
    <fieldset>
        <legend> 后台登录</legend>
        <label for="user_name">用户名</label>

        <input id="user_name" type="text" name="user_name" value="{{old('user_name')}}"/>
        @if ($errors->has('user_name'))
            <span style="color: red">
                <strong>{{ $errors->first('user_name') }}</strong>
            </span>
        @endif

        <br>
        <label for="password">密&nbsp;码</label>
        <input id="password" type="text" name="password"/>
        @if ($errors->has('password'))
            <span style="color: red">
                <strong>{{ $errors->first('password') }}</strong>
            </span>
        @endif
        <br>

        {{csrf_field()}}
        <input type="submit" value="submit"/><br>
    </fieldset>
</form>
</body>
</html>